package com.zf.springdoc.hander;

import lombok.Data;

@Data
public class R<T> {
    private int code;
    private String msg;
    private T data;
//    public static <T> R<T> ok(T data) { ... }
//    public static <T> R<T> fail(String msg) { ... }
}